package sc;

import org.apache.log4j.xml.DOMConfigurator;

import sc.helper.Constants;
import sc.tcp.TCPGateway;
import sc.tcp.impl.TCPGatewayServer;
import sc.udp.impl.UDPGatewayImpl;


public class Server {

	public static void main(String[] args) {

		DOMConfigurator.configure("log4j.xml");
		TCPGateway server = new TCPGatewayServer();
		//server.startTCPGateway(null);
		
		new UDPGatewayImpl(server);
		
	}
	
}
